//
//  OtherHeaderTableViewCell.m
//  CarTown
//
//  Created by xionghao on 15/8/5.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "OtherHeaderTableViewCell.h"

@implementation OtherHeaderTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

+(instancetype)cellWithTableView:(UITableView *)tableview{
    OtherHeaderTableViewCell *cell=[tableview dequeueReusableCellWithIdentifier:@"otherheader"];
    if (cell==nil) {
        cell=[[[NSBundle mainBundle]loadNibNamed:@"OtherHeaderTableViewCell" owner:nil options:nil]firstObject];
    }
    return cell;
}
- (IBAction)lookcarforsell:(id)sender {
    if ([_tableclickdelegate respondsToSelector:@selector(click:)]) {
        [_tableclickdelegate click:0];
    }
    
}
- (IBAction)looklist:(id)sender {
    if ([_tableclickdelegate respondsToSelector:@selector(click:)]) {
        [_tableclickdelegate click:1];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
